package com.msgc.utils.crypto.aes.dao;

/**
 * 使用数据库实现持久化 AES加密所需信息
 * @author liuyanming
 */
/*@Service
public class AesInfoDbImpl implements IAesInfoDao {

	@Resource
	private SecurityMapper securityMapper;
	
	@Override
	public void save(SecurityEntity security) {
		if(security == null) {
			throw new NullPointerException("security can't be null!");
		}
		securityMapper.insertSecurity(security);
	}

	@Override
	public SecurityEntity get() {
		return securityMapper.get();
	}
}*/
